package com.portal.sso.core.server;

import com.portal.sso.core.model.ResponseTModel;
import lombok.Data;

@Data
public abstract class VerificationTgtServer {
    JwtServerHander jwtServerHander = null;
    String clientAppId = null;
    String clientSecret = null;
    /**
     * 验证tgt
     * @param url
     * @param tgt
     * @return 返回包含jwt的ResponseTModel信息
     */
   public abstract String Verification(String url, String tgt);

    /**
     * 返回userid
     * @param jwt
     * @return
     */
    public abstract String CheckUserId(String jwt);


}
